package pri.jz.keeper.jui.jdialog

import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.util.Log
import android.view.MotionEvent
import pri.jz.keeper.R

/**
 *Author by: JZ
 *Email: 2451756617@qq.com
 *PS:
 */
open class JBaseDialog(context: Context) : Dialog(context, R.style.Theme_Keeper_Dialog) {
    protected lateinit var TAG: String
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        TAG = javaClass.simpleName
        Log.d(TAG, "onCreate: 弹窗创建")
    }

    override fun onTouchEvent(event: MotionEvent): Boolean {
        return true
    }
}